﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="KaiZhang.aspx.cs" Inherits="Web.Pages.QuShui.DiXiaS.ShouFeiGL.KaiZhang"  Theme="Default"%>

<%@ Register Assembly="DevExpress.Web.v15.2, Version=15.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>开账</title>
     <script src="../../../JS/jquery.js"></script>
    <script type="text/javascript">
        function AjaxData(type) {
            SetControlStatus(false);
            LoadPanel.Show();
            var keywords = "checkerror";
            if (type == 1) {
                keywords = "sumdata";
            }
            ASPxCallback1.PerformCallback(keywords);
        }
        
        
        function SetControlStatus(bool) {
            BtnKZ.SetEnabled(bool);
            BtnSelectError.SetEnabled(bool);

            DrpQK.SetEnabled(bool);
        }
        

        function JJKZ() {
            if (confirm("是否要进行加价开帐")) {
                alert("加价开帐成功");
            }
        }

        function JJKZJS() {
            alert("加价开帐结束");
        }
    </script>
     <style type="text/css">
        textarea {
             font-size:16px !important;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
       <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <%--  <dx:ASPxCallback ID="ASPxCallback1" ClientInstanceName="ASPxCallback1" runat="server" OnCallback="ASPxCallback1_Callback" ClientSideEvents-CallbackComplete="function(s,e){ASPxCallbackCommonComplete(e.result);}"></dx:ASPxCallback>
       <dx:ASPxHiddenField ID="HiddenList" ClientInstanceName="HiddenList" runat="server"></dx:ASPxHiddenField>--%>
         <%--<asp:HiddenField ID="glklist" runat="server" />--%>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <div class="tabletitle1">
                    开账
                </div>
                <table style="">
                    <tr>
                       <%-- <td>地区：
                        </td>
                        <td>
                            <dx:ASPxComboBox ID="DrpQK" ClientInstanceName="DrpQK" runat="server" ValueType="System.String" Width="60%">
                                <Items>
                                    <dx:ListEditItem Text="大陆" Value="1" Selected="true" />
                                    <dx:ListEditItem Text="崇明" Value="2" />
                                    <dx:ListEditItem Text="长兴横沙" Value="3" />
                                </Items>
                            </dx:ASPxComboBox>
                        </td>--%>
                        <td style="text-align: right">水量年月：</td>
                        <td>
                            <dx:ASPxTextBox runat="server" ID="txtShuiLiangYM" Width="60%" >
                            </dx:ASPxTextBox>
                        </td>
                        <td>
                            <dx:ASPxCheckBox runat="server" ID="chkKaiZhang" Text="开帐后允许抄表数据修改" Checked="true" ClientVisible="false"></dx:ASPxCheckBox>
                        </td>
                        <td style="min-width: 150px;" align="right">

                            <dx:ASPxLabel ID="LabNum" runat="server" Text=""></dx:ASPxLabel>
                        </td>
                        <td>
                            <%--<div style="margin-top: 15px; text-align: right">--%>
                                <dx:ASPxLoadingPanel ID="LoadPanel" ClientInstanceName="LoadPanel11" runat="server" Text="正在查错..."></dx:ASPxLoadingPanel>
                                <dx:ASPxButton ID="BtnSelectError" ClientInstanceName="BtnSelectError" runat="server" Text="查错" UseSubmitBehavior="false" OnClick="BtnSelectError_Click">
                                    <ClientSideEvents Click="function(s,e){LoadPanel11.Show();}" />
                                </dx:ASPxButton>
                                <dx:ASPxLoadingPanel ID="LoadPanel22" ClientInstanceName="LoadPanel22" runat="server" Text="正在开账..."></dx:ASPxLoadingPanel>
                                <dx:ASPxButton ID="BtnKZ" runat="server" ClientInstanceName="BtnKZ" Text="开账" UseSubmitBehavior="false" OnClick="BtnKZ_Click" ClientEnabled="false">
                                    <ClientSideEvents Click="function(s,e){LoadPanel22.Show();}" />
                                </dx:ASPxButton>

                            <%--</div>--%>
                        </td>
                    </tr>
                </table>
                
                  <fieldset style="border: 1px solid  cornflowerblue;">
                    <dx:ASPxMemo ID="txtZhuanHuanJG" runat="server" Height="450px" Width="100%" Visible="false" ReadOnly="true"></dx:ASPxMemo>
                </fieldset> 
              
               <%-- <fieldset style="border: 1px solid  cornflowerblue;">
                    <legend>加价开账</legend>
                    <table>
                        <tr>
                            <td style="text-align: right">水量年：</td>
                            <td>
                                <dx:ASPxTextBox runat="server" ID="txtSLY" Width="60%">
                                </dx:ASPxTextBox>
                            </td>
                            <td>
                                 <dx:ASPxButton ID="BtnJJKZ" runat="server" ClientInstanceName="BtnJJKZ" Text="加价开账" UseSubmitBehavior="false" OnClick="BtnJJKZ_Click" >                                   
                                </dx:ASPxButton> 
                            </td>
                        </tr>
                    </table>
                   
                </fieldset>--%>

            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
</body>
</html>

